/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.oracleandsxnd.erp.seting.service;

import com.oracleandsxnd.erp.common.persistence.Page;
import com.oracleandsxnd.erp.common.service.CrudService;
import com.oracleandsxnd.erp.seting.dao.LogisticsDao;
import com.oracleandsxnd.erp.seting.entity.Logistics;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 物流公司Service
 * @author 物流公司
 * @version 2019-12-17
 */
@Service
@Transactional(readOnly = true)
public class LogisticsService extends CrudService<LogisticsDao, Logistics> {

	public Logistics get(String id) {
		return super.get(id);
	}
	
	public List<Logistics> findList(Logistics logistics) {
		return super.findList(logistics);
	}
	
	public Page<Logistics> findPage(Page<Logistics> page, Logistics logistics) {
		return super.findPage(page, logistics);
	}
	
	@Transactional(readOnly = false)
	public void save(Logistics logistics) {
		super.save(logistics);
	}
	
	@Transactional(readOnly = false)
	public void delete(Logistics logistics) {
		super.delete(logistics);
	}
	
}